.third-step-form {
    &-form {
        display: flex;
        flex-direction: column;
        margin-top: 100px;
        position: relative;
    }

    &-textarea {
        width: 100%;
        min-height: 84px;
        margin: 0;
        resize: vertical;
        border: 0;
        outline: 1px solid var(--color-border);
        border-radius: 4px;
        margin-top: 8px;
        padding: 12px;

        &_error {
            outline: var(--color-error);
        }

        &:hover {
            outline-color: var(--color-black);
        }

        &:focus {
            outline: 2px solid var(--color-purple);
        }

        &::-webkit-resizer {
            background: linear-gradient(
                    315deg,
                    var(--color-transparent) 6%,
                    var(--color-border) 6% 16%,
                    var(--color-transparent) 16% 23%,
                    var(--color-border) 23% 33%,
                    var(--color-transparent) 33% 43%,
                    var(--color-border) 43% 50%,
                    var(--color-transparent) 50% 100%
                )
                no-repeat;
            background-size: 80% 80%;
        }
    }

    &-helper {
        position: absolute;
        bottom: -28px;
        font-size: 12px;
        line-height: 16px;
    }

    &-counter {
        position: absolute;
        bottom: -28px;
        right: 0;
        font-size: 12px;
        line-height: 16px;
    }
    &-footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 88px;
        gap: 12px;
    }

    @media screen and (max-width: 768px) {
        &-form {
            margin-top: 48px;
        }

        &-footer {
            margin-top: 48px;
        }
    }

    @media screen and (max-width: 400px) {
        &-footer {
            flex-direction: column-reverse;
        }
    }
}
